首页> 外文OA文献 >Pointcut rejuvenation: recovering pointcut expressions in evolving aspect-oriented software
【2h】

Pointcut rejuvenation: recovering pointcut expressions in evolving aspect-oriented software

机译:切入点复兴:在不断发展的面向方面的软件中恢复切入点表达式

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base-code can lead to join points incorrectly falling in or out of the scope of pointcuts. In this paper, we present an automated approach that limits fragility problems by providing mechanical assistance in pointcut maintenance. The approach is based on harnessing arbitrarily deep structural commonalities between program elements corresponding to join points selected by a pointcut. The extracted patterns are then applied to later versions to offer suggestions of new join points that may require inclusion. To illustrate that the motivation behind our proposal is well founded, we first empirically establish that join points captured by a single pointcut typically portray a significant amount of unique structural commonality by analyzing patterns extracted from twenty-three AspectJ programs. Then, we demonstrate the usefulness of our technique by rejuvenating pointcuts in multiple versions of three of these programs. The results show that our parameterized heuristic algorithm was able to accurately and automatically infer the majority of new join points in subsequent software versions that were not captured by the original pointcuts.
机译:切入点易碎性在面向方面的编程中是一个有据可查的问题。对基本代码的更改可能导致连接点错误地落入切入点范围之内或之外。在本文中,我们提出了一种自动化方法,该方法通过在切入点维护中提供机械协助来限制易碎性问题。该方法基于利用与切入点选择的连接点相对应的程序元素之间任意深的结构共性。然后将提取的模式应用于更高版本,以提供可能需要包含的新连接点的建议。为了说明我们的提议背后的动机是有充分根据的,我们首先根据经验确定通过分析从二十三个AspectJ程序中提取的模式,单个切入点捕获的连接点通常具有大量独特的结构共性。然后,我们通过在这三个程序的多个版本中重现切入点来证明我们技术的有用性。结果表明,我们的参数化启发式算法能够准确,自动地推断出原始切入点未捕获的后续软件版本中的大多数新连接点。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号